package com.example.bsxk.service;

import com.example.bsxk.dto.ZyxStudentChoosedThesis;
import com.example.bsxk.dto.ZyxStudentThesis;

import java.util.List;

public interface ZyxUserService {

    //查询课程
    List<ZyxStudentChoosedThesis> findChooseThesesById(Long id);

    List<ZyxStudentChoosedThesis> findOptionalThesesById(Long id);

    List<ZyxStudentChoosedThesis> findNotChooseThesesById(Long id);

    //判断选择数量
    int findThesisCount(Integer tid);

    int findThesisCountById(Long id);

    //选课操作
    void insertThesis(ZyxStudentThesis thesis);

    //删除选课操作
    void deleteById(ZyxStudentThesis thesis);
}